Fix same_vm test by adding missing '$'.
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 3 Dec 2005 23:51:15 +0000 (00:51 +0100)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Sat, 3 Dec 2005 23:51:15 +0000 (00:51 +0100)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/examples/block

index b37f8fdbd43448bc36923009ea4c8633d6fbdb3d..6698df77c3f897b17ae5a352b4ca4317a7703957 100644 (file)
@@ -131,7 +131,7 @@ same_vm()
   local thisdom="$XENBUS_FRONTEND_ID"
   local otherdom="$1"
   local thisvm=$(xenstore-read "/local/domain/$thisdom/vm")
-  local othervm=$(xenstore-read "/local/domain/otherdom/vm")
+  local othervm=$(xenstore-read "/local/domain/$otherdom/vm")
 
   return [ "$thisvm" == "$othervm" ]
 }